<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>艺术家主页 - 音乐NFT平台</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100">
    <div class="flex h-screen bg-gray-100">
        <!-- 侧边栏 (与首页相同) -->
        
        <!-- 主内容区 -->
        <div class="flex-1 flex flex-col overflow-hidden">
            <!-- 顶部导航 (与首页相同) -->
            
            <!-- 滚动内容区 -->
            <main class="flex-1 overflow-y-auto bg-gray-100">
                <div class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">

                    <!-- 艺术家信息部分 -->
<div class="bg-white rounded-lg shadow-md p-6 mb-6">
    <div class="flex items-center justify-between">
        <div class="flex items-center">
            <img src="https://images.unsplash.com/photo-1549213783-8284d0336c4f?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" alt="Artist Avatar" class="w-24 h-24 rounded-full object-cover mr-6">
            <div>
                <h1 class="text-3xl font-bold mb-2">DJ Electro</h1>
                <p class="text-gray-600 mb-4">电子音乐制作人 | 5年音乐经验</p>
                <div class="flex space-x-4 text-sm text-gray-500">
                    <span><i class="fas fa-music mr-1"></i> 15 NFTs</span>
                    <span><i class="fas fa-users mr-1"></i> 10.2k 粉丝</span>
                    <span><i class="fas fa-star mr-1"></i> 4.9 评分</span>
                </div>
            </div>
        </div>
        <button id="follow-button" class="bg-pink-600 text-white px-6 py-2 rounded-full hover:bg-pink-700 transition duration-300">
            关注
        </button>
    </div>
</div>

<script>
document.getElementById('follow-button').addEventListener('click', function() {
    this.textContent = this.textContent === '关注' ? '已关注' : '关注';
    this.classList.toggle('bg-pink-600');
    this.classList.toggle('bg-gray-300');
});
</script>
                    <!-- 艺术家信息 -->
                    <div class="bg-white rounded-lg shadow-md p-6 mb-6">
                        <div class="flex items-center">
                            <img src="https://images.unsplash.com/photo-1549213783-8284d0336c4f?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" alt="Artist Avatar" class="w-24 h-24 rounded-full object-cover mr-6">
                            <div>
                                <h1 class="text-3xl font-bold mb-2">DJ Electro</h1>
                                <p class="text-gray-600 mb-4">电子音乐制作人 | 5年音乐经验</p>
                                <div class="flex space-x-4 text-sm text-gray-500">
                                    <span><i class="fas fa-music mr-1"></i> 15 NFTs</span>
                                    <span><i class="fas fa-users mr-1"></i> 10.2k 粉丝</span>
                                    <span><i class="fas fa-star mr-1"></i> 4.9 评分</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 艺术家简介 -->
                    <div class="bg-white rounded-lg shadow-md p-6 mb-6">
                        <h2 class="text-xl font-semibold mb-4">关于艺术家</h2>
                        <p class="text-gray-600">DJ Electro是一位才华横溢的电子音乐制作人，以其独特的音乐风格和创新的制作技巧而闻名。他的作品融合了多种电子音乐元素，创造出令人耳目一新的听觉体验。</p>
                    </div>
                    
                    <!-- 艺术家的NFTs -->
                    <h2 class="text-2xl font-semibold mb-4">DJ Electro的NFTs</h2>
                    <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6">
                        <!-- NFT卡片 1 -->
                        <div class="bg-white rounded-lg shadow-md overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1470225620780-dba8ba36b745?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" alt="NFT Cover" class="w-full h-48 object-cover">
                            <div class="p-4">
                                <h3 class="font-semibold text-lg mb-1">电子音乐集Vol.1</h3>
                                <p class="text-sm text-gray-500 mb-2">限量版NFT</p>
                                <div class="flex justify-between items-center">
                                    <span class="text-lg font-bold text-pink-600">0.05 ETH</span>
                                    <button class="bg-pink-600 text-white px-4 py-2 rounded-full hover:bg-pink-700 transition duration-300">
                                        购买
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 可以继续添加更多NFT卡片 -->
                    </div>
                </div>
            </main>
            
            <!-- 底部播放器 (与首页相同) -->
        </div>
    </div>
</body>
</html>
